<template>
  <div class="poster">
    <Poster />
  </div>
  <!-- <div class="poster">
    <div class="upload">
      <el-upload
        class="upload-demo"
        drag
        action="https://creationapi.shbwyz.com/api/file/upload?unique=0"
        multiple
      >
        <svg
          style="margin-top: 20px; color: #29a2ff"
          viewBox="0 0 1024 1024"
          focusable="false"
          data-icon="inbox"
          width="5em"
          height="5em"
          fill="currentColor"
          aria-hidden="true"
        >
          <path
            d="M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"
          />
        </svg>
        <div class="el-upload__text">
          点击选择文件或将文件拖拽到此处<br>文件将上传到 OSS, 如未配置请先配置
        </div>
      </el-upload>
    </div>
    <div class="searchFile">
      <el-form :inline="true" :model="formInline" class="demo-form-inline">
        <el-form-item label="文件名称:">
          <el-input v-model="formInline.fileName" placeholder="请输入文件名" />
        </el-form-item>
        <div style="display: flex; justify-content: flex-end">
          <el-form-item>
            <el-button type="primary" @click="onSearch">搜索</el-button>
            <el-button @click="onReset">重置</el-button>
          </el-form-item>
        </div>
      </el-form>
    </div>
    <div class="fileList">
      <el-table border style="width: 100%" height="200">
        <template slot="empty">
          <div>
            <svg
              style="margin-top: 20px; color: #d9d9d9"
              viewBox="0 0 1024 1024"
              focusable="false"
              data-icon="inbox"
              width="4em"
              height="4em"
              fill="currentColor"
              aria-hidden="true"
            >
              <path
                d="M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"
              />
            </svg>
          </div>
          <span>暂无数据</span>
        </template>
      </el-table>
    </div>
    <cmtFooter />
  </div> -->
</template>

<script>
import Poster from './fileManage.vue'
export default {
  components: {
    Poster
  }
  // data() {
  //   return {
  //     formInline: {
  //       fileName: ''
  //     }
  //   }
  // },
  // methods: {
  //   onSearch() {},
  //   onReset() {}
  // }
}
</script>

<style lang="scss">
.app-main {
  height: 572px;
}
.upload {
  width: 100%;
  .upload-demo {
    width: 100%;
    .el-upload {
      width: 100%;
      .el-upload-dragger {
        width: 100%;
      }
    }
  }
}
</style>
 <style lang="scss" scoped>
.poster {
  width: 100%;
  height: 100%;
  background: #e7eaee;
  overflow-y: auto;
//   .searchFile {
//     .demo-form-inline {
//       padding: 24px 12px;
//       margin: 16px 0px 16px 0px;
//       background: #fff;
//     }
//   }
}
</style>
